<div class="first_tabs">
	<div [ngClass]="{active:tab=='base'}" (click)="swichTab('base')">基本信息</div>
	<div [ngClass]="{active:tab=='security'}" (click)="swichTab('security')">安全设置</div>
</div>

<div class="pane_block" style="width:450px;" *ngIf="tab=='base'">
	<div class="pane_block_title">店铺信息</div>
	<div name="boxShow" class="dialog_form">
		<table>
			<tr>
				<th width="130">店铺名称</th>
				<td><input type="text" /></td>
			</tr>
			<tr>
				<th>店铺LOGO</th>
				<td>
					<img style="width:80px;height:80px;display:inline-block;vertical-align: middle;margin-right:15px;" src="" alt="" />
					<button class="grid_btn">选择图片</button>
				</td>
			</tr>
			<tr>
				<td colspan="2" style="text-align:right;">
					<button>保存</button>
				</td>
			</tr>
		</table>
	</div>
</div>

<div *ngIf="tab=='security'">
	<div class="pane_block" style="width:450px;">
		<div class="pane_block_title">密码修改</div>
		<form name="boxShow" class="dialog_form" #passwordForm="ngForm">
			<table>
				<tr>
					<th width="130">当前密码</th>
					<td><input name="pwd" type="password" [(ngModel)]="oldPassword" required/></td>
				</tr>
				<tr>
					<th width="130">新密码</th>
					<td><input name="newPwd" type="password" [(ngModel)]="newPassword" required/></td>
				</tr>
				<tr>
					<th width="130">确认新密码</th>
					<td><input name="newPwd2" type="password" [(ngModel)]="np" required/></td>
				</tr>
				<tr>
					<td colspan="2" style="text-align:right;">
						<button (click)="savePwd();" [disabled]="newPassword!=np || passwordForm.form.invalid">修改密码</button>
					</td>
				</tr>
			</table>
		</form>
	</div>
	<!--<div class="pane_block" style="width:450px;">
		<div class="pane_block_title">密码修改</div>
		<div name="boxShow" class="dialog_form">
			<table>
				<tr>
					<th width="130">确认新密码</th>
					<td><input type="text" /></td>
				</tr>
				<tr>
					<td colspan="2" style="text-align:right;">
						<button>修改手机号</button>
					</td>
				</tr>
			</table>
		</div>
	</div>-->
</div>